package com.fbee.smartcommunities.service;

import javax.mail.MessagingException;

/**
 * ClassName: com.fbee.smartcommunities.service
 * Datetime: 2024/8/16 下午5:03
 * Description:
 *
 * @author 汪佳泉
 * @version 1.0
 * @since 1.0
 */
public interface EmailService {
    /**
     * 发送邮件服务
     * @param to 接收账户
     * @param topic 邮件主题
     * @param text 邮件内容
     */
    void send(String to,String topic,String text) throws MessagingException;

    void sendCaptcha(String to,String topic,String text) throws MessagingException;

}
